package com.ilop.sthome.mvp.contract.device;

import com.example.common.mvp.IBasePresenter;
import com.example.common.mvp.IBaseView;

import java.util.ArrayList;
import java.util.HashMap;

/**
 * @author skygge
 * @date 2020/4/21.
 * GitHub：javofxu@github.com
 * email：skygge@yeah.net
 * description：
 */
public interface ThermostatTimingContract {

    interface IView extends IBaseView{
        void showMsg(String msg);

        void finishActivity();
    }

    interface IPresent extends IBasePresenter<IView>{

        void getDeviceInfo(String deviceName, int deviceId);

        boolean getAutomationInfo(int mid);

        void sendTimingCode(String status, String action);

        void sendDeleteTimer();

        void onSendSuccess(boolean isModify, String autoId);

        void onDeleteSuccess();

        String getModifyHourAndMinute();

        String getModifyThermostatTemp();

        HashMap<Integer, Boolean> getModifyWeekData();

        ArrayList<String> getHour();

        ArrayList<String> getMinute();

        ArrayList<String> getTemperature();

        String getTimerStatus(HashMap<Integer, Boolean> week, int hour, int min);
    }
}
